<template>
  <div id="app" ref="app" :style="{ backgroundImage: 'url(' + bg + ')' }">
    <router-view></router-view>
  </div>
</template>

<script>

export default {
  name: "App",
  data() {
    return {
      bg: require("./assets/img/bg.png")
    };
  }
};
</script>

<style>
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
#app {
  font-family: Microsoft YaHei;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  height: 100%;
  position: relative;
  background-repeat: no-repeat;
  background-position: center 0;
  background-color: #f5f6f7;
}
.el-button--primary {
    background-color: #146ede;
    border-color: #146ede;
}
.el-button--primary:hover {
    background-color: #146ede;
    border-color: #146ede;
}
.el-form-item__content {
  line-height: 60px;
  font-size: 20px;
}
.el-form-item {
  margin-bottom: 30px;
}
.el-form-item input:focus + .el-input__prefix > .el-input__icon {
  color: #146ede;
}
.el-form-item.is-error .el-input__icon {
  color: #f56c6c;
}
.el-form-item.is-error input:focus + .el-input__prefix > .el-input__icon {
  color: #f56c6c;
}
.el-form-item__error {
  font-size: 14px;
  padding-top: 10px;
  left: 25px;
  text-align: left;
}
.el-input__inner {
  border-radius: 30px;
  color: #606266;
  height: 60px;
  line-height: 60px;
  background-color: #f5f6f7;
}
.el-input__icon {
  line-height: 60px;
}
.el-input__icon:after {
  content: "|";
  display: inline-block;
  vertical-align: top;
  position: relative;
  left: 15px;
  color: #e0e0e0;
  transform: scale(0.5,1);
}
.el-input__prefix {
  left: 22px;
}
.el-input__suffix {
  right: 20px;
}
.el-input__prefix .iconfont,
.el-input__suffix .iconfont {
  font-size: 20px;
}
.el-button {
  font-weight: 500;
  padding: 20px;
  font-size: 18px;
  border-radius: 30px;
}
.form-control {
  width: 100%;
}
.overflow-hidden {
  overflow: hidden;
}
.margin-top {
  margin-top: 30px;
}
.margin-bottom {
  margin-bottom: 30px;
}
.margin-right {
  margin-right: 20px;
}
.margin-left {
  margin-left: 20px;
}
.align-center {
  text-align: center;
}
</style>
